package com.client.ClientCuntumer;

import com.api.service.UserServiceI;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Component
public class UserInit implements CommandLineRunner {
    @Autowired
    private UserServiceI userServiceI;

    @Override
    public void run(String... args) throws Exception {
        System.out.println(userServiceI.selectUserById(2));
    }
}
